<?php include("src/addBank_cs.php");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="js/fancybox/fancy.css" type="text/css" media="screen">
<link href='css/coolMessage.css' type='text/css' rel='stylesheet' media='screen' />
<title>Add Bank :: First United Services LLC. </title>
<script language="javaScript" type="text/javascript" src="js/jquery.js"></script>
<script language="javaScript" type="text/javascript" src="js/jquery.simplemodal.js"></script>
<script language="javaScript" type="text/javascript" src="js/coolMessage.js"></script>
<script type="text/javascript" src="js/fancybox/jquery.fancybox-1.0.0.js"></script>

<script language="javascript" type="text/javascript">

	function validate(){
		var ban_name= document.getElementById('ban_name').value		
		var msg = ''
		
		if(ban_name=='')
			msg+='- The Bank Name is required.<br />'	
			
		if(msg==''){
			document.getElementById('form').submit();
			return true;
		}
		else{
			document.getElementById("content_error").innerHTML = msg;
			return false
		}		
	}
	
</script>
</head>
    <div class="content_fancy_grv" style="height:147px">
    	<form name="form" id="form" method="post" action="">
        <input type="hidden" name="add" value="1" />
            <table width="100%" class="tbl_fancy">
                <tr>
                    <td class="title_fancy">Add Bank</td>
                </tr>
                <tr>
                    <td>
                        <table class="tbl_fancy">
                            <tr><td colspan="3">&nbsp;</td></tr>
                            <tr>
                                <td width="35%" align="right"><span class="lbl_gray">Bank Name:</span></td>
                                <td width="1%">&nbsp;</td>
                                <td align="left"><input type="text" name="ban_name" id="ban_name" class="text_grv" size="25" maxlength="30" /></td>
                            </tr>
                            <tr><td></td><td colspan="2"><span class="lbl_red_small" id="content_error"></span>&nbsp;</td></tr>
                            <tr>
                                <td colspan="3" align="center">
                                    <input type="button" class="button_grv" value="Save" onclick="javascript: return validate();" />
                                    <input type="reset" value="Reset" class="button_grv_cancel"/>
                                    <input type="button" class="button_grv_cancel" value="Cancel" onClick="javascript: window.top.$.fn.fancybox.close();" />
                                </td>
                            </tr>
                            <tr><td colspan="3">&nbsp;</td></tr>
                        </table>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>
<?php include('divscoolmessage.php');?>